extends Item

var Utils = globalData.infoDs["g_ZHPUtils"]
var Shop = globalData.infoDs["g_ZHPShop"]
var ADlist = preload("./adlist.gd").getCharaData()
var ADprice = preload("./adprice.gd").getCharaData()

var adlist = [ADlist.AD_1,ADlist.AD_2,ADlist.AD_3,ADlist.AD_4,
ADlist.AD_5,ADlist.AD_6,ADlist.AD_7,ADlist.AD_8,ADlist.AD_9,
ADlist.AD_10,ADlist.AD_11,ADlist.AD_12]

var adprice = [ADprice.ADPRICE_1,ADprice.ADPRICE_2,ADprice.ADPRICE_3,
ADprice.ADPRICE_4,ADprice.ADPRICE_5,ADprice.ADPRICE_6,ADprice.ADPRICE_7,
ADprice.ADPRICE_8,ADprice.ADPRICE_9,ADprice.ADPRICE_10,ADprice.ADPRICE_11,
ADprice.ADPRICE_12,ADprice.ADPRICE_13,ADprice.ADPRICE_14,ADprice.ADPRICE_15]

var adcolour = ["FFD700","FFFF00","FFA500","FF4500","FFFFFF","00FF00",
"7CFC00","00CED1","00BFFF","1E90FF","0000FF","6495ED","FF00FF","FF1493",
"FFC0CB","00FFFF","48D1CC","00FA9A","8A2BE2","FF69B4","87CEFA","F0FFF0"]

func _init():
	._init()
	
func init():
	.init()
	adlist.shuffle()
	adprice.shuffle()
	adcolour.shuffle()